<h1>New review</h1>

<% form_for :review, @review, :url => {:action => "create" }do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label :score %><br />
    <%= f.select :score, options_for_select(%w{ 1 2 3 4 5 }) %>
  </p>
  <p>
    <%= f.label :user %><br />
    <%= f.text_field :user %>
  </p>
  <p>
    <%= f.label :movie %><br />
    <%= f.text_field :movie %>
  </p>
  <p>
    <%= f.submit 'Create' %>
  </p>
<% end %>

<%= link_to 'Back', movie_reviews_path(@movie) %>